package com.web.kftsdk.bean;

/**
 * <p>Title: TradeStatusEnum</p>
 * <p>Description: 交易状态</p>
 *
 * @author xukk
 * @version 1.0
 * @date 2018/6/12
 */
public enum TradeStatusEnum implements IEnum{
    SSUCCESS("SUCCESS","成功"),
    SFAIL("FAIL","失败"),
    SIN_PROCESS("IN_PROCESS","处理中"),
    SEXCEPTION_SUCCESS("EXCEPTION_SUCCESS","异常成功"),
    SEXCEPTION_FAIL("EXCEPTION_FAIL","异常失败"),
    SUSER_PAYING("USER_PAYING","用户付款中"),
    SWAITING_REFUND("WAITING_REFUND","等待退款");
    private String desc;

    private String code;

    TradeStatusEnum( String code,String desc) {
        this.desc = desc;
        this.code = code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String getCode() {
        return code;
    }
}
